package com.hd.mapper;

import com.hd.pojo.User;

import java.util.List;

/**
 * Created by 1 on 2017/11/16.
 */
public interface BaseMapper<T> {

    public List<T> list();

    public Integer add(T entity);

    public Integer delete(Integer id);

    public Integer update(T entity);

}
